﻿using Domain.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Net.Http.Headers;
using System.Reflection.Metadata.Ecma335;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Models.Cmd
{
    public class AdUpdateReplyUp:RunRes
    {
        /// <summary>
        /// 广告序号
        /// </summary>
        public int AdNumber { get; set; }
    }

    public class AdUpdateDown:RunReq
    {
        public int AdNumber { get; set; }
        [MaxLength(100,ErrorMessage ="地址总长度不得超过100字符")]
        public string DownloadAddress { get; set; }
        public readonly Enums.DataType CmdType = Enums.DataType.广告更新命令下; 
    }
    
}
